<template>
  <el-tabs>
    <el-tab-pane label="数据导入">
      <DocumentManagement :knowledge-id="knowledgeId" />
    </el-tab-pane>
    <el-tab-pane label="文档管理">
      <DocumentManagement :knowledge-id="knowledgeId" />
    </el-tab-pane>
    <el-tab-pane label="切片管理">
      <SliceManagement />
    </el-tab-pane>
    <el-tab-pane label="向量搜索">
      <VectorSearch />
    </el-tab-pane>
  </el-tabs>
</template>

<script setup>
import { ref, defineProps } from 'vue'
import DocumentManagement from './DocumentManagement.vue'
import SliceManagement from './SliceManagement.vue'
import VectorSearch from './VectorSearch.vue'

const props = defineProps({
  knowledgeId: {
    type: String,
    required: true
  }
})
</script> 